Skip to content

replace nulls with empty string in template#63

Merged
CloudUki merged 1 commit intomirrulations:mainfrom
drekdrek:fix-template
Apr 22, 2025
Merged

replace nulls with empty string in template#63
CloudUki merged 1 commit intomirrulations:mainfrom
drekdrek:fix-template

Conversation

@drekdrek
Copy link

Zach told me that even though the template passes validation it does not deploy properly with null values, this replaces them with empty strings.

@CloudUki
Copy link
Contributor

Does it display and error for this if the values are null? Should I document this down as well in the README incase?

@drekdrek
Copy link
Author

@ZingBing

@ZingBing
Copy link

@CloudUki The SAM Validate command does not detect if the values are null, apparently. It might be something worth documenting briefly, but I am not expecting anyone to add null values to the template typically, as they were only added to run locally for some situations.

I am creating an issue for this on the AWS SAM CLI repo because it should realistically be failing the sam validate, but who knows how long that will take to get addressed.

@CloudUki
Copy link
Contributor

@ZingBing perfect thank you. I can write something brief about it and ask for you to review it and we can move on from there.

@CloudUki CloudUki merged commit fcd676d into mirrulations:main Apr 22, 2025
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants